/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mscs.server.promotion.logic;

import java.util.ArrayList;
import java.util.Vector;

/**
 *
 * @author Usbuild
 */
public interface IGiftDiscountUtil<T> {
    public Vector<Vector<String>> toDataVector();
    public void setByIndex(int index, T type);
    public ArrayList<T> getList();
    public void addToList(T type);
    public void commit();
    public void remove(int index);
    public T queryByCriteria(String key, String value);
}
